<!DOCTYPE html>  
<head>  
<title>MyWebProject</title>  
<meta charset="utf-8" />  

    <script src="Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>


</head>  
  
<body>  
	<script type="text/javascript">
	 var upgradeDeviceArray = new Array();
	 upgradeDeviceArray[0] = "1";
	 upgradeDeviceArray[1] = "a";
	 upgradeDeviceArray[2] = "2";
	 upgradeDeviceArray[3] = "3";
	 upgradeDeviceArray[4] = "4";
	 upgradeDeviceArray[5] = "5";
	 
	 function arr_del(d){
		    return upgradeDeviceArray.slice(0,d-1).concat(upgradeDeviceArray.slice(d));
	}
	 

	 


	 removeValue("a");
	 
	alert(upgradeDeviceArray.toString() );
	 
	 
   </script>
</body>  
</html> 